cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(pcl_utils)
SET(CMAKE_BUILD_TYPE "Debug")
find_package(catkin REQUIRED COMPONENTS
    roscpp
    std_msgs
    sensor_msgs
)
find_package(PCL REQUIRED common io visualization filters)
catkin_package(
    INCLUDE_DIRS include
)
set(CMAKE_CXX_FLAGS "-pthread")
# set(PCL_INCLUDE_DIRS /usr/local/include/pcl-1.8)  
include_directories(${PCL_INCLUDE_DIRS})
include_directories(
        include
        ${catkin_INCLUDE_DIRS}
)
# /usr/include/eigen3/)
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(display_pcd_file src/main.cpp src/pcl_utils.cpp)
target_link_libraries(display_pcd_file ${PCL_LIBRARIES}  ${catkin_LIBRARIES} )
